package com.itlong.cloud.operate.service;

import com.itlong.cloud.POJO.DTO.operate.OperateU8BaseDataDTO;
import com.itlong.cloud.POJO.VO.operate.OperateU8BaseDataCustomerVO;
import com.itlong.cloud.POJO.VO.operate.OperateU8BaseDataDepartmentVO;
import com.itlong.cloud.POJO.VO.operate.OperateU8BaseDataSalesVO;
import com.itlong.cloud.utils.page.Page;

/**
 * <desc>
 *      运营-U8基础数据管理业务处理接口
 * </desc>
 *
 * @createDate
 */
public interface IOperateU8BaseDataService {

    /**
     * <desc>
     *      获取业务员部门列表
     * </desc>
     *
     * @return 标准格式化响应结果
     * @author Juguang.S
     * @createDate 2020/12/02
     */
    Page<OperateU8BaseDataDepartmentVO> getDepartmentPage(OperateU8BaseDataDTO dto) throws Exception;

    /**
     * <desc>
     *      获取业务员列表
     * </desc>
     *
     * @return 标准格式化响应结果
     * @author Juguang.S
     * @createDate 2020/12/02
     */
    Page<OperateU8BaseDataSalesVO> getSalesPage(OperateU8BaseDataDTO dto) throws Exception;

    /**
     * <desc>
     *      获取客户列表
     * </desc>
     *
     * @return 标准格式化响应结果
     * @author Juguang.S
     * @createDate 2020/12/02
     */
    Page<OperateU8BaseDataCustomerVO> getCustomerPage(OperateU8BaseDataDTO dto) throws Exception;

    /**
     * <desc>
     *      运营基础数据与U8同步定时任务
     * </desc>
     *
     * @return 标准格式化响应结果
     * @author Juguang.S
     * @createDate 2020/12/03
     */
    void timeTaskSynchronizeBaseDataByU8() throws Exception;
}
